libmy_test.a: t1.o t2.o
	ar -rc libmy_test.a t1.o t2.o
t1.o:t1.c
	gcc -c t1.c 
t2.o:t2.c
	gcc -c t2.c 

.PHONY:pack
pack:
	mkdir -p mylib/include
	mkdir -p mylib/lib
	cp *.h mylib/include/
	cp *.a mylib/lib

.PHONY:clean
clean:
	rm -rf *.o *.a
